﻿using FirstApiTest.Controllers.Domian.Entity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FirstApiTest.Controllers.Domian
{
    public class AdminContext4000:DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer("server=.;database=AdminContext4000;uid=sa;pwd=123456;");
        }
        public DbSet<Product> Products { get; set; }
        public DbSet<Brand> Brands { get; set;  }
    }
}
